import Vue from 'vue'
import {
  Button,
  Table,
  TableColumn,
  Carousel,
  CarouselItem,
  Image,
  Autocomplete,
  Form,
  FormItem,
  Input,
  Avatar,
  InputNumber,
  Popover,
  Dialog,
  Message,
  MessageBox,
  Upload
} from 'element-ui'

Vue.prototype.$message = Message
Vue.prototype.$confirm = MessageBox.confirm

Vue.use(Button)
Vue.use(Table)
Vue.use(TableColumn)
Vue.use(Carousel)
Vue.use(CarouselItem)
Vue.use(Image)
Vue.use(Autocomplete)
Vue.use(Form)
Vue.use(FormItem)
Vue.use(Input)
Vue.use(Avatar)
Vue.use(InputNumber)
Vue.use(Popover)
Vue.use(Dialog)
Vue.use(Upload)
